home *** CD-ROM | disk | FTP | other *** search
/ Champak 26 (Anniversary Edition) / Volume 26 [Anniversary Edition] - JOGO DISK .iso / DEPOSITO / REmovido / Nave / Drakojan.swf / scripts / DefineButton2_1029 / BUTTONCONDACTION on(release, keyPress Enter).as
Text File  |  2006-07-21  |  916b  |  44 lines

  1. on(release, keyPress "<Enter>"){
  2.    if(password eq "topgun")
  3.    {
  4.       _root.powerbar.gotoAndStop(10);
  5.       gotoAndStop(3);
  6.    }
  7.    else if(password eq "vimana")
  8.    {
  9.       _root.spaceship.gotoAndStop(3);
  10.       gotoAndStop(4);
  11.    }
  12.    else if(password eq "spitfire")
  13.    {
  14.       _root.misscounter.gotoAndStop(10);
  15.       gotoAndStop(5);
  16.    }
  17.    else if(password eq "sirius")
  18.    {
  19.       _root.misscounter.gotoAndStop(10);
  20.       _root.powerbar.gotoAndStop(10);
  21.       gotoAndStop(6);
  22.    }
  23.    else if(password eq "god")
  24.    {
  25.       _root.spaceship.gotoAndPlay(12);
  26.       tellTarget("/life")
  27.       {
  28.          nextFrame();
  29.       }
  30.       gotoAndStop(1);
  31.    }
  32.    else if(password eq "thot")
  33.    {
  34.       _root.spaceship.gotoAndStop(3);
  35.       _root.misscounter.gotoAndStop(10);
  36.       _root.powerbar.gotoAndStop(10);
  37.       gotoAndStop(7);
  38.    }
  39.    else
  40.    {
  41.       gotoAndStop(2);
  42.    }
  43. }
  44.